﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HPortal.Lib;
using System.Data;
using System.Data.SqlClient;
using System.Web.Security;

namespace HPortal.Module
{
    public partial class Lichthi : PanelControl
    {   
        protected int ChannelID;
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        private void grvManager_DataBind()
        {
            DataTable dt = DatabaseHelper.Select("exec [sp_XemLichThi] " + DatabaseHelper.EscapeQuote(txtCode.Text.Trim()));
            grvSmallArticle.DataSource = dt;
            grvSmallArticle.DataBind();
        }

        protected void cmdXem_Click(object sender, EventArgs e)
        {
            grvManager_DataBind(); 
        }
    }
}